package com.xuz.factory.simple_factory.service.impl;

import com.xuz.factory.simple_factory.entity.AwardInfo;
import com.xuz.factory.simple_factory.entity.ResponseResult;
import com.xuz.factory.simple_factory.service.IFreeGoods;


/**
 * @user 65453
 * @date 2024/9/23 22:35
 */
public class YouKuMemberFreeGoods implements IFreeGoods {

    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {

        String phone = awardInfo.getExtMap().get("phone");
        System.out.println("发放优酷会员成功,绑定手机号: " + phone);
        return new ResponseResult("200", "优酷会员发放成功!");
    }
}
